package com.kexuexiong.demo.bear;

import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import com.alibaba.nacos.spring.context.annotation.discovery.EnableNacosDiscovery;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@ConfigurationPropertiesScan(basePackages = "com.kexuexiong.demo.bear.common")
@NacosPropertySource(dataId = "${spring.application.name}",autoRefreshed = true)
@EnableNacosDiscovery
@EnableFeignClients(basePackages = {"com.kexuexiong.demo.common.feignProvider"})
public class BearApplication {

	public static void main(String[] args) {
		SpringApplication.run(BearApplication.class, args);
	}

}
